home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
3d_vb
/
form1.frm
< prev
next >
Wrap
Text File
|
1995-09-06
|
16KB
|
516 lines
VERSION 2.00
Begin Form Form1
BackColor = &H00C0C0C0&
BorderStyle = 3 'Fixed Double
Caption = "3-D4VB Sub Routines"
ClientHeight = 6645
ClientLeft = 645
ClientTop = 375
ClientWidth = 8550
Height = 7050
Left = 585
LinkMode = 1 'Source
LinkTopic = "Form1"
ScaleHeight = 6645
ScaleWidth = 8550
Top = 30
Width = 8670
Begin PictureBox Picture12
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 495
Left = 4680
ScaleHeight = 495
ScaleWidth = 3495
TabIndex = 14
Top = 5640
Width = 3495
End
Begin PictureBox Picture14
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 1095
Left = 480
ScaleHeight = 1095
ScaleWidth = 3375
TabIndex = 17
Top = 5040
Width = 3375
End
Begin PictureBox Picture8
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
ForeColor = &H00000000&
Height = 615
Left = 4680
ScaleHeight = 615
ScaleWidth = 3495
TabIndex = 8
Top = 4800
Width = 3495
End
Begin Timer Timer2
Enabled = 0 'False
Interval = 2000
Left = 4080
Top = 4320
End
Begin PictureBox Picture7
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 615
Left = 480
ScaleHeight = 615
ScaleWidth = 3375
TabIndex = 7
Top = 3600
Width = 3375
End
Begin PictureBox Picture9
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 1575
Left = 4680
ScaleHeight = 1575
ScaleWidth = 3495
TabIndex = 9
Top = 3000
Width = 3495
Begin PictureBox MultiBar
AutoSize = -1 'True
DrawMode = 6 'Invert
Height = 360
Left = 1920
Picture = FORM1.FRX:0000
ScaleHeight = 330
ScaleWidth = 1065
TabIndex = 15
TabStop = 0 'False
Top = 1080
Width = 1095
End
Begin PictureBox SingleBar
AutoSize = -1 'True
DrawMode = 6 'Invert
Height = 360
Left = 1920
Picture = FORM1.FRX:0A6A
ScaleHeight = 330
ScaleWidth = 1065
TabIndex = 10
TabStop = 0 'False
Top = 480
Width = 1095
End
End
Begin Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 4680
Top = 3000
End
Begin PictureBox Picture6
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 615
Left = 480
ScaleHeight = 615
ScaleWidth = 3375
TabIndex = 6
Top = 2760
Width = 3375
End
Begin PictureBox Picture13
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 735
Left = 6480
ScaleHeight = 735
ScaleWidth = 1695
TabIndex = 16
Top = 2040
Width = 1695
End
Begin PictureBox Picture11
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 735
Left = 4680
ScaleHeight = 735
ScaleWidth = 1575
TabIndex = 13
Top = 2040
Width = 1575
End
Begin PictureBox Picture5
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 615
Left = 480
ScaleHeight = 615
ScaleWidth = 3375
TabIndex = 5
Top = 1920
Width = 3375
End
Begin PictureBox Picture10
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 735
Left = 6480
ScaleHeight = 735
ScaleWidth = 1695
TabIndex = 12
Top = 1080
Width = 1695
End
Begin PictureBox Picture4
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 735
Left = 4680
ScaleHeight = 735
ScaleWidth = 1575
TabIndex = 4
Top = 1080
Width = 1575
End
Begin PictureBox Picture1
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 1215
Left = 480
ScaleHeight = 1215
ScaleWidth = 3375
TabIndex = 0
Top = 480
Width = 3375
Begin TextBox Text2
BackColor = &H00FFFF00&
BorderStyle = 0 'None
ForeColor = &H00FF0000&
Height = 255
Left = 120
TabIndex = 18
Text = "Text2"
Top = 840
Width = 1455
End
Begin TextBox Text1
Height = 375
Left = 1920
TabIndex = 1
Text = "Text1"
Top = 240
Width = 1335
End
Begin Label Label1
BorderStyle = 1 'Fixed Single
Caption = "Label1"
Height = 375
Left = 120
TabIndex = 11
Top = 240
Width = 1455
End
End
Begin PictureBox Picture3
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 615
Left = 6480
ScaleHeight = 615
ScaleWidth = 1695
TabIndex = 3
Top = 240
Width = 1695
End
Begin PictureBox Picture2
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 615
Left = 4680
ScaleHeight = 615
ScaleWidth = 1575
TabIndex = 2
Top = 240
Width = 1575
End
End
Dim Selected As Integer
Sub BuildScreen ()
' FormFrame
FormFrame Form1
' BorderBox Places Shadowed Border around Text and Label Controls
' suggested from code in Nov./Dec.1991 BASICPro Magazine.
' Since labels and text boxes have no print method use this routine
Picture1.AutoRedraw = True
RaisedBorderBox Text1, Picture1
BorderBox Label1, Picture1, 2
BorderBox Text2, Picture1, 1
LabelBox Label1, Picture1, "BorderBox", 2, 0, GRAY, ETCHED
Picture1.FontBold = False
LabelBox Text1, Picture1, "RaisedBorderBox", 2, 0, BLACK, NORMAL
Picture1.FontBold = True
LabelBox Text1, Picture1, "LabelBox", 2, 2, BLUE, ETCHED
Picture1.AutoRedraw = False
' EtchedFrames
' Picture Boxes that appear like frame controls
Picture5.AutoRedraw = True
EtchedFrame Picture5, "L